extends Node2D

func init(type:String, big:Big):
	match type:
		"迷雾森林":
			$Sprite2D.texture = load("res://游戏/特效/阵法/雾.png")
		"地狱杀伐":
			$Sprite2D.texture = load("res://游戏/特效/阵法/杀.png")
		"九曲黄河":
			$Sprite2D.texture = load("res://游戏/特效/阵法/九.png")
		"佛法慈悲":
			$Sprite2D.texture = load("res://游戏/特效/阵法/佛.png")
	$Sprite2D.modulate = big.player.color
	big.effect_阵法 = self
	$AnimationPlayer.play("旋转")
